4D Chart v13CT GET DATE SCALE |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT GET DATE SCALE
|
CT GET DATE SCALE ( area ; object ; minAuto ; maxAuto ; majIncrAuto ; minIncrAuto ; minimum ; maximum ; majIncrType ; majIncr ; minIncrType ; minIncr ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Chart area | |||||
object | Longint |
![]() |
Object ID | |||||
minAuto | Integer |
![]() |
Using default minimum? 0 = No 1 = Yes | |||||
maxAuto | Integer |
![]() |
Using default maximum? 0 = No 1 = Yes | |||||
majIncrAuto | Integer |
![]() |
Using default major increment? 0 = No 1 = Yes | |||||
minIncrAuto | Integer |
![]() |
Using default minor increment? 0 = No 1 = Yes | |||||
minimum | Date |
![]() |
Receives minimum value | |||||
maximum | Date |
![]() |
Receives maximum value | |||||
majIncrType | Integer |
![]() |
What is the major increment type? 1 = Days 2 = Weeks 3 = Months 4 = Years | |||||
majIncr | Integer |
![]() |
Receives major increment | |||||
minIncrType | Integer |
![]() |
What is the minor increment type? 1 = Days 2 = Weeks 3 = Months 4 = Years | |||||
minIncr | Integer |
![]() |
Receives minor increment | |||||
The CT GET DATE SCALE command returns whether the default values are being used or what alternative values have been set for the Values axis scale. CT GET DATE SCALE is used when the values are dates.
minAuto and maxAuto specify whether or not the graph is currently using the default minimum and maximum values.
majIncrAuto and minIncrAuto specify whether the graph is currently using the default major and minor increments.
minimum and maximum are the minimum and maximum values set by the user in the Axis dialog box or by the designer using the CT SET DATE SCALE command.
majIncrType and minIncrType are codes for the units in which the majorIncr and minorIncr parameters are specified.
majorIncr and minorIncr are the major and minor increments set by the user in the Axis dialog box or by the designer using the CT SET DATE SCALE command.
This example returns scale data for the chart specified by $ChartID.
CT GET DATE SCALE(Area;$ChartID;$MinA;$MaxA;$MajA;$MinA;$Minimum;$Maximum;$MajType;$MajorInc;$MinType;
$MinorInc)
Product: 4D Chart
Theme: CT Chart
Number:
14541
Created: 4D Chart 1
CT GET REAL SCALE
CT SET DATE SCALE
CT SET REAL SCALE